package com.niuwa.p2p.entity.claimtransfer;

import java.math.BigDecimal;
import java.util.Date;

public class TransferApply {
		//自转债权流水号
	    private String serialNo;
	   //转让价格
	    private BigDecimal transferPrice;
	   //转让系数
	    private BigDecimal transferRatio;
	  //转让债权本金
	    private BigDecimal transferCapital;
	  //成交金额
	    private BigDecimal bargainAmount;
	  //已投金额
	    private BigDecimal hadInvest;
	 //剩余可投金额
	    private BigDecimal remainAmount;
	 //转让截止日期
	    private Date stopTime;
	 //项目编号
	    private String projectCode;
	 //产品名称
	    private String prodName;
	  //产品编号
	    private String prodCode;
	 //年利率
	    private BigDecimal yearRate;
	 //下一还款日
	    private Date nextRepayDate;
	 //转让状态
	    private String tranferStatus;
	 //创建日期
	    private Date createTime;
	 //剩余期限
	    private Integer remainTerm;
	 //剩余期限周期
	    private String remainTermType;
	 //转让债权编号
	    private String creditNo;
	 //债权去向
	    private String claimTo;
	 //应计利息
	    private BigDecimal accruedInterest;
	 //折让金额
	    private BigDecimal discount;
	    private String projectName;//项目名称
	    private Date expireDate;//借款到期日
	    private String isOwner;//是否自转债权
	    private Long version;//版本号
	    
	    
	    public TransferApply() {
		}
	    
	    public TransferApply(String serialNo, BigDecimal remainAmount, String tranferStatus, Long version) {
			this.serialNo = serialNo;
			this.remainAmount = remainAmount;
			this.tranferStatus = tranferStatus;
			this.version = version;
		}

		public Long getVersion() {
			return version;
		}

		public void setVersion(Long version) {
			this.version = version;
		}

		public String getSerialNo() {
	        return serialNo;
	    }
	
	    public void setSerialNo(String serialNo) {
	        this.serialNo = serialNo == null ? null : serialNo.trim();
	    }
	
	    public BigDecimal getTransferPrice() {
	        return transferPrice;
	    }
	
	    public void setTransferPrice(BigDecimal transferPrice) {
	        this.transferPrice = transferPrice;
	    }
	
	    public BigDecimal getTransferRatio() {
	        return transferRatio;
	    }
	
	    public void setTransferRatio(BigDecimal transferRatio) {
	        this.transferRatio = transferRatio;
	    }
	
	    public BigDecimal getTransferCapital() {
	        return transferCapital;
	    }
	
	    public void setTransferCapital(BigDecimal transferCapital) {
	        this.transferCapital = transferCapital;
	    }
	
	    public BigDecimal getBargainAmount() {
	        return bargainAmount;
	    }
	
	    public void setBargainAmount(BigDecimal bargainAmount) {
	        this.bargainAmount = bargainAmount;
	    }
	
	    public BigDecimal getHadInvest() {
	        return hadInvest;
	    }
	
	    public void setHadInvest(BigDecimal hadInvest) {
	        this.hadInvest = hadInvest;
	    }
	
	    public BigDecimal getRemainAmount() {
	        return remainAmount;
	    }
	
	    public void setRemainAmount(BigDecimal remainAmount) {
	        this.remainAmount = remainAmount;
	    }
	
	    public Date getStopTime() {
	        return stopTime;
	    }
	
	    public void setStopTime(Date stopTime) {
	        this.stopTime = stopTime;
	    }
	
	    public String getProjectCode() {
	        return projectCode;
	    }
	
	    public void setProjectCode(String projectCode) {
	        this.projectCode = projectCode == null ? null : projectCode.trim();
	    }
	
	   
	
	    public String getProdName() {
			return prodName;
		}

		public void setProdName(String prodName) {
			this.prodName = prodName;
		}

		public String getProdCode() {
	        return prodCode;
	    }
	
	    public void setProdCode(String prodCode) {
	        this.prodCode = prodCode == null ? null : prodCode.trim();
	    }
	
	
	    public BigDecimal getYearRate() {
			return yearRate;
		}

		public void setYearRate(BigDecimal yearRate) {
			this.yearRate = yearRate;
		}

		public String getProjectName() {
			return projectName;
		}

		public void setProjectName(String projectName) {
			this.projectName = projectName;
		}

		public Date getExpireDate() {
			return expireDate;
		}

		public void setExpireDate(Date expireDate) {
			this.expireDate = expireDate;
		}

		public String getIsOwner() {
			return isOwner;
		}

		public void setIsOwner(String isOwner) {
			this.isOwner = isOwner;
		}

		public Date getNextRepayDate() {
	        return nextRepayDate;
	    }
	
	    public void setNextRepayDate(Date nextRepayDate) {
	        this.nextRepayDate = nextRepayDate;
	    }
	
	    public String getTranferStatus() {
	        return tranferStatus;
	    }
	
	    public void setTranferStatus(String tranferStatus) {
	        this.tranferStatus = tranferStatus == null ? null : tranferStatus.trim();
	    }
	
	    public Date getCreateTime() {
	        return createTime;
	    }
	
	    public void setCreateTime(Date createTime) {
	        this.createTime = createTime;
	    }
	
	    public Integer getRemainTerm() {
	        return remainTerm;
	    }
	
	    public void setRemainTerm(Integer remainTerm) {
	        this.remainTerm = remainTerm;
	    }
	
	    public String getRemainTermType() {
	        return remainTermType;
	    }
	
	    public void setRemainTermType(String remainTermType) {
	        this.remainTermType = remainTermType == null ? null : remainTermType.trim();
	    }
	
	    public String getCreditNo() {
	        return creditNo;
	    }
	
	    public void setCreditNo(String creditNo) {
	        this.creditNo = creditNo == null ? null : creditNo.trim();
	    }
	
	    public String getClaimTo() {
	        return claimTo;
	    }
	
	    public void setClaimTo(String claimTo) {
	        this.claimTo = claimTo == null ? null : claimTo.trim();
	    }
	
	    public BigDecimal getAccruedInterest() {
	        return accruedInterest;
	    }
	
	    public void setAccruedInterest(BigDecimal accruedInterest) {
	        this.accruedInterest = accruedInterest;
	    }
	
	    public BigDecimal getDiscount() {
	        return discount;
	    }
	
	    public void setDiscount(BigDecimal discount) {
	        this.discount = discount;
	    }
	}